package com.thymeleaf.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sunny
 * @since 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 记录时间戳
     */
    private Integer createtime;

    /**
     * 记录人员id
     */
    private Integer userId;

    /**
     * 记录地址
     */
    private String uri;

    /**
     * body参数记录
     */
    private String bodyContent;

    /**
     * params 参数记录
     */
    private String paramsContent;

    /**
     * 记录访问模块
     */
    private String myModel;

    /**
     * 标题
     */
    private String title;

    /**
     * 请求方式
     */
    private String method;

    /**
     * 记录访问ip
     */
    private String ip;


}
